<form>
  <h3 md-dialog-title>{{title}}</h3>
  <div md-dialog-content>
    <md-input-container class="full-width">
      <input mdInput type="text" placeholder="任务内容">
    </md-input-container> 
  </div>
 
   <div md-dialog-actions>
    <button type="button"  md-raised-button color="warn" (click)="onclick()">保存</button>
    <button type="button"  md-raised-close md-button (click)="closeDialog()">关闭</button>
  </div>
</form>